package com.springbootcrud.email;

public class test {
    public static void main(String[] args) {

        String userName="userName";
        String age="age";
        String address="address";
        String sex="sex";
        String roledId="roledId";
        String requestUrl = "http://susan.sc.cn?userName=%s&age=%s&address=%s&sex=%s&roledId=%s";
        String url = String.format(requestUrl,userName,age,address,sex,roledId);
        System.out.println(url);

    }
}
